package com.xiaoran.springcloud.alibaba.dao;

import com.xiaoran.springcloud.alibaba.domain.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface OrderDao {
    //1.新建订单
    void create(Order order);

    //2.修改订单状态从0到1
    void update(@Param("user_id") Long user_id,@Param("status") Integer status);
}
